{% extends 'index.html' %}
{% block content %}
    <div class="card">
        <div class="card-header">
            {#            <h4>Striped table with hover effect</h4>#}
        </div>
        <a class="table-responsive">
            <table class="table table-striped table-hover" >
                <thead>

                <tr>
                    <th></th>
                    <th>新楼盘</th>
                    <th>城市</th>
{#                    <th>所属区域</th>#}
{#                    <th>均价</th>#}
{#                    <th>物业公司</th>#}
{#                    <th>物业费</th>#}
{#                    <th>地址</th>#}
{#                    <th>产权</th>#}

                </tr>
                </thead>
                <tbody>
                {% for h in spiders %}
                    <tr>
                    <td></td>
                        <td><a href="/scrapy/{{ h.id }}" target="_self"/>{{ h.context }}</td>
                        <td><a href="/scrapy/stop" target="_self"/>stop</td>
                        {#                        <th scope="row"><a href="{% url 'house_city'   h.city_name %}">{{ h.city_name }}</a>#}
                        {#                            <a href="{% url 'geo' h.city_name %}">#</a>#}
                        {#                        </th>#}

                    </tr>
                {% endfor %}

                </tbody>
            </table>
        </a>
    </div>
{% endblock %}